//
//  XLHTTPSessionManager+Login.h
//  XiangLove
//
//  Created by 陈宪栋 on 2017/11/28.
//  Copyright © 2017年 BAOMIHUA.COM. All rights reserved.
//

#import "XLHTTPSessionManager.h"

@interface XLHTTPSessionManager (Login)
- (RACSignal *)visitorLogin;

- (RACSignal *)userLoginWithAppUid:(NSString *)appUid wxOpenId:(NSString *)wxOpenId userName:(NSString *)userName headImgUrl:(NSString *)headImgUrl sex:(UserSex)sex age:(NSInteger)age boundSource:(BoundSourceType)boundSource;

- (RACSignal *)refreshSecretKeyWithUserId:(NSString *)userId;

- (RACSignal *)getCodeWithPhone:(NSString *)phone;
- (RACSignal *)userBindWithPhone:(NSString *)phone code:(NSString *)code;
- (RACSignal *)userLoginWithPhone:(NSString *)phone code:(NSString *)code;
@end

